:root {
    color: lightgray;
    background-color: #303030;
    font-weight: bold;
}

.pad {
    border-radius: 0.5rem;
    background-color: #252525;
    margin: 0.2rem;
    padding: 0.2rem;
    display: inline-block;
    position: relative;
    flex: 1;
}

.row {
    display: flex;
    width: 100%;
    height: inherit;
}

.col {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: inherit;
}

button {
    border-radius: 25px;
    background-color: rgb(0, 66, 0);
    border: none;
    color: inherit;
    outline: none;
    transition: 500ms;
    font-weight: inherit;
    position: relative;
}

button:disabled {
    color: rgb(109, 109, 109);
}

button:hover:not(:disabled) {
    background-color: rgb(0, 131, 0);
    box-shadow: 0px 0px 50px rgb(190, 190, 194);
    /* animation: alert 1s infinite linear; */
}

button:active {
    position: relative;
    top: 2px;
    left: 1px;
    box-shadow: none;
    transition: 50ms;
}

select {
    background-color: #272727;
    color: #bbb;
    border-radius: 2.5rem;
    outline: none;
}

table {
    border-collapse: collapse;
    width: 98%;
    max-height: 30vh;    
}

th {
    position: sticky;
    top:0px;
    background-color: #252525;
}

td {
    border: grey thin solid;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 10rem;
    white-space: nowrap;
}

tr {
    font-size: small;
    font-weight: lighter;
    transition: 300ms;
}

tbody > tr:hover {
    background-color: #505050;
}

.tooltip{
    visibility: hidden;
    transition-delay: 100ms;
    transition: 200ms;    
    color:#bbb;
    background-color: #555;
    text-align: center;
    position: absolute;
    right: 1px;
    max-width:10rem;
    bottom:1px;
    border-radius: 5px;
    font-weight: lighter;
    font-size: medium;
    opacity: 0;
    box-shadow: 3px 3px 3px 3px #101010;
    padding:3px;
    z-index:100;
}

.input-group{
    position: relative;
}

.input-group:hover .tooltip{
    visibility: visible;
    opacity: 1;
}

.input-group span:not(.tooltip) {
    display: inline-block;
    width:6rem;
    vertical-align: top;
}

input,textarea {
    border-radius: 0.5rem;
    background-color: #202020;
    outline: none;    
    padding-left: 0.4rem;
    border: none;
    font-weight: inherit;
    height: 1.2rem;
    width: 15rem;
    color: #bbb;
    position: relative;
    box-shadow: 0px 0px 2px 2px #454545 inset;
    transition: 500ms;
}

textarea{
    top:3px;
    height: 1.05rem;
    overflow: hidden;
}

input[type="checkbox"] {
    top: 1px;
    box-shadow: none;
    width: 0.8rem;
}

input:focus {
    box-shadow: 0px 0px 5px 2px #777 inset;
}

input[type="checkbox"]:focus {
    box-shadow: none;
}

span {
    color: #aaa;
}

#loading-symbol {
    animation: round 2s infinite linear;
    transition: 500ms;
}

#loading-symbol:hover {
    animation: round 1s infinite linear;
}

#loading-symbol+span {
    position: relative;
    top: -9px;
}

.table-panel::-webkit-scrollbar, .pad::-webkit-scrollbar,.col-list::-webkit-scrollbar{
    background-color: gray;
    border-radius: 25rem;
    width: 10px;
    height: 10px;
}

.table-panel::-webkit-scrollbar-thumb, .pad::-webkit-scrollbar-thumb,.col-list::-webkit-scrollbar-thumb{
    background-color: darkgreen;
    border-radius: 25rem;
}

.tabs{
    display:flex;
    list-style: none;
    padding:0px;
    margin:1px;
    border-bottom: thin solid;
}

.tabs>li{
    margin-left:0.5rem;
    margin-right: 0.5rem;
}

.tabs>.active{
    font-size: large;
}

.tabs>:not(.active){
    color:#777
}

.col-list{
    padding:3px;
    display:none;
    position: absolute;
    left:17.2rem;
    top: 0.6rem;
    border-radius: 0.7rem;
    list-style: none;
    z-index:100;
    background-color: #252525;
    max-height: 10rem;
    overflow:auto;
    font-size: small;
    font-weight: lighter;
    border:thin solid #505050;
    padding-left: 0.5rem;
}

.col-list li{
    cursor: pointer;
}

@keyframes jump {
    0% {
        /* height: 80%; */
        top: 4px;
        position: relative;
    }

    25% {
        height: 100%;
        bottom: 0px;
    }

    100% {
        bottom: 20px;
    }
}

@keyframes round {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes alert {
    from {
        box-shadow: none;
    }

    25% {
        box-shadow: 0px 0px 8px rgb(190, 190, 194);
    }

    50% {
        box-shadow: 0px 0px 8px rgb(255, 0, 0)
    }

    75% {
        box-shadow: 0px 0px 8px rgb(190, 190, 194);
    }

    to {
        box-shadow: none;
    }
}

#report-id::before{
    content:"ID: ";
}

#action-list{
    font-size: small;
    font-weight: lighter;
    transition: 200ms;
}

textarea:focus{
    width: 20rem;
    height:10rem;
    z-index: 999;
}

#ready-robots{
    position: absolute;
    left: 6.5rem;
    z-index:300;
    background-color: #252525;
    border:solid #606060 thin;
    border-top:none;
    width: 15rem;
    max-height: 5rem;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0.5rem;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    display:none;    
}

#task-robot:focus #ready-robots{
    display: block;
}

#ready-robots > *{
    font-size: small;
    font-weight: normal;
}

#ready-robots > div:hover{
    background-color: #606060;
    cursor: pointer;
}